package org.link.bean;

/**
 * 
 * project_name:hibernatedemo
 * package_name:org.link.bean
 * file_name:Account.java
 * @author Link
 * create_date:2015年12月10日 下午4:40:48
 * modified_date:
 * description:账户实体类
 *
 */
public class Account {

	private String id;		//逻辑主键
	private String username;//用户名
	private String userpass;//密码
	private Double money;//余额
	
	public Account() {
		super();
	}

	
	public Account(String id, String username, String userpass, Double money) {
		super();
		this.id = id;
		this.username = username;
		this.userpass = userpass;
		this.money = money;
	}


	public String getId() {
		return id;
	}


	public void setId(String id) {
		this.id = id;
	}


	public String getUsername() {
		return username;
	}


	public void setUsername(String username) {
		this.username = username;
	}


	public String getUserpass() {
		return userpass;
	}


	public void setUserpass(String userpass) {
		this.userpass = userpass;
	}


	public Double getMoney() {
		return money;
	}


	public void setMoney(Double money) {
		this.money = money;
	}


	@Override
	public String toString() {
		return "Account [id=" + id + ", username=" + username + ", userpass=" + userpass + ", money=" + money + "]";
	}
	
	
	
}
